#[cfg(feature = "doc")]
pub mod doc;

#[cfg(feature = "rpc")]
pub mod rpc;

pub mod dto;
pub mod error;
pub mod param;

#[cfg(feature = "server")]
pub mod server;

#[macro_export]
macro_rules! def_api_server {
    ($expr: expr) => {
        pub struct __Server;

        impl apikit::ServerDef for __Server {
            fn server_name() -> &'static str {
                $expr
            }
        }
    };
}
